package com.shire.shire_interface.model.group;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class WxGroupExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public WxGroupExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andWxaccountIsNull() {
            addCriterion("wxAccount is null");
            return (Criteria) this;
        }

        public Criteria andWxaccountIsNotNull() {
            addCriterion("wxAccount is not null");
            return (Criteria) this;
        }

        public Criteria andWxaccountEqualTo(String value) {
            addCriterion("wxAccount =", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotEqualTo(String value) {
            addCriterion("wxAccount <>", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountGreaterThan(String value) {
            addCriterion("wxAccount >", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountGreaterThanOrEqualTo(String value) {
            addCriterion("wxAccount >=", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountLessThan(String value) {
            addCriterion("wxAccount <", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountLessThanOrEqualTo(String value) {
            addCriterion("wxAccount <=", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountLike(String value) {
            addCriterion("wxAccount like", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotLike(String value) {
            addCriterion("wxAccount not like", value, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountIn(List<String> values) {
            addCriterion("wxAccount in", values, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotIn(List<String> values) {
            addCriterion("wxAccount not in", values, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountBetween(String value1, String value2) {
            addCriterion("wxAccount between", value1, value2, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andWxaccountNotBetween(String value1, String value2) {
            addCriterion("wxAccount not between", value1, value2, "wxaccount");
            return (Criteria) this;
        }

        public Criteria andGroupnoIsNull() {
            addCriterion("groupNo is null");
            return (Criteria) this;
        }

        public Criteria andGroupnoIsNotNull() {
            addCriterion("groupNo is not null");
            return (Criteria) this;
        }

        public Criteria andGroupnoEqualTo(String value) {
            addCriterion("groupNo =", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotEqualTo(String value) {
            addCriterion("groupNo <>", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoGreaterThan(String value) {
            addCriterion("groupNo >", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoGreaterThanOrEqualTo(String value) {
            addCriterion("groupNo >=", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLessThan(String value) {
            addCriterion("groupNo <", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLessThanOrEqualTo(String value) {
            addCriterion("groupNo <=", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoLike(String value) {
            addCriterion("groupNo like", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotLike(String value) {
            addCriterion("groupNo not like", value, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoIn(List<String> values) {
            addCriterion("groupNo in", values, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotIn(List<String> values) {
            addCriterion("groupNo not in", values, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoBetween(String value1, String value2) {
            addCriterion("groupNo between", value1, value2, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnoNotBetween(String value1, String value2) {
            addCriterion("groupNo not between", value1, value2, "groupno");
            return (Criteria) this;
        }

        public Criteria andGroupnameIsNull() {
            addCriterion("groupName is null");
            return (Criteria) this;
        }

        public Criteria andGroupnameIsNotNull() {
            addCriterion("groupName is not null");
            return (Criteria) this;
        }

        public Criteria andGroupnameEqualTo(String value) {
            addCriterion("groupName =", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotEqualTo(String value) {
            addCriterion("groupName <>", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameGreaterThan(String value) {
            addCriterion("groupName >", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameGreaterThanOrEqualTo(String value) {
            addCriterion("groupName >=", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLessThan(String value) {
            addCriterion("groupName <", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLessThanOrEqualTo(String value) {
            addCriterion("groupName <=", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameLike(String value) {
            addCriterion("groupName like", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotLike(String value) {
            addCriterion("groupName not like", value, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameIn(List<String> values) {
            addCriterion("groupName in", values, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotIn(List<String> values) {
            addCriterion("groupName not in", values, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameBetween(String value1, String value2) {
            addCriterion("groupName between", value1, value2, "groupname");
            return (Criteria) this;
        }

        public Criteria andGroupnameNotBetween(String value1, String value2) {
            addCriterion("groupName not between", value1, value2, "groupname");
            return (Criteria) this;
        }

        public Criteria andPersonnumIsNull() {
            addCriterion("personNum is null");
            return (Criteria) this;
        }

        public Criteria andPersonnumIsNotNull() {
            addCriterion("personNum is not null");
            return (Criteria) this;
        }

        public Criteria andPersonnumEqualTo(Integer value) {
            addCriterion("personNum =", value, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumNotEqualTo(Integer value) {
            addCriterion("personNum <>", value, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumGreaterThan(Integer value) {
            addCriterion("personNum >", value, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumGreaterThanOrEqualTo(Integer value) {
            addCriterion("personNum >=", value, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumLessThan(Integer value) {
            addCriterion("personNum <", value, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumLessThanOrEqualTo(Integer value) {
            addCriterion("personNum <=", value, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumIn(List<Integer> values) {
            addCriterion("personNum in", values, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumNotIn(List<Integer> values) {
            addCriterion("personNum not in", values, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumBetween(Integer value1, Integer value2) {
            addCriterion("personNum between", value1, value2, "personnum");
            return (Criteria) this;
        }

        public Criteria andPersonnumNotBetween(Integer value1, Integer value2) {
            addCriterion("personNum not between", value1, value2, "personnum");
            return (Criteria) this;
        }

        public Criteria andCategoryidIsNull() {
            addCriterion("categoryId is null");
            return (Criteria) this;
        }

        public Criteria andCategoryidIsNotNull() {
            addCriterion("categoryId is not null");
            return (Criteria) this;
        }

        public Criteria andCategoryidEqualTo(Integer value) {
            addCriterion("categoryId =", value, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidNotEqualTo(Integer value) {
            addCriterion("categoryId <>", value, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidGreaterThan(Integer value) {
            addCriterion("categoryId >", value, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidGreaterThanOrEqualTo(Integer value) {
            addCriterion("categoryId >=", value, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidLessThan(Integer value) {
            addCriterion("categoryId <", value, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidLessThanOrEqualTo(Integer value) {
            addCriterion("categoryId <=", value, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidIn(List<Integer> values) {
            addCriterion("categoryId in", values, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidNotIn(List<Integer> values) {
            addCriterion("categoryId not in", values, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidBetween(Integer value1, Integer value2) {
            addCriterion("categoryId between", value1, value2, "categoryid");
            return (Criteria) this;
        }

        public Criteria andCategoryidNotBetween(Integer value1, Integer value2) {
            addCriterion("categoryId not between", value1, value2, "categoryid");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNull() {
            addCriterion("description is null");
            return (Criteria) this;
        }

        public Criteria andDescriptionIsNotNull() {
            addCriterion("description is not null");
            return (Criteria) this;
        }

        public Criteria andDescriptionEqualTo(String value) {
            addCriterion("description =", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotEqualTo(String value) {
            addCriterion("description <>", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThan(String value) {
            addCriterion("description >", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionGreaterThanOrEqualTo(String value) {
            addCriterion("description >=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThan(String value) {
            addCriterion("description <", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLessThanOrEqualTo(String value) {
            addCriterion("description <=", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionLike(String value) {
            addCriterion("description like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotLike(String value) {
            addCriterion("description not like", value, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionIn(List<String> values) {
            addCriterion("description in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotIn(List<String> values) {
            addCriterion("description not in", values, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionBetween(String value1, String value2) {
            addCriterion("description between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andDescriptionNotBetween(String value1, String value2) {
            addCriterion("description not between", value1, value2, "description");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andFlagsIsNull() {
            addCriterion("flags is null");
            return (Criteria) this;
        }

        public Criteria andFlagsIsNotNull() {
            addCriterion("flags is not null");
            return (Criteria) this;
        }

        public Criteria andFlagsEqualTo(String value) {
            addCriterion("flags =", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsNotEqualTo(String value) {
            addCriterion("flags <>", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsGreaterThan(String value) {
            addCriterion("flags >", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsGreaterThanOrEqualTo(String value) {
            addCriterion("flags >=", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsLessThan(String value) {
            addCriterion("flags <", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsLessThanOrEqualTo(String value) {
            addCriterion("flags <=", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsLike(String value) {
            addCriterion("flags like", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsNotLike(String value) {
            addCriterion("flags not like", value, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsIn(List<String> values) {
            addCriterion("flags in", values, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsNotIn(List<String> values) {
            addCriterion("flags not in", values, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsBetween(String value1, String value2) {
            addCriterion("flags between", value1, value2, "flags");
            return (Criteria) this;
        }

        public Criteria andFlagsNotBetween(String value1, String value2) {
            addCriterion("flags not between", value1, value2, "flags");
            return (Criteria) this;
        }

        public Criteria andJointimeIsNull() {
            addCriterion("joinTime is null");
            return (Criteria) this;
        }

        public Criteria andJointimeIsNotNull() {
            addCriterion("joinTime is not null");
            return (Criteria) this;
        }

        public Criteria andJointimeEqualTo(Date value) {
            addCriterion("joinTime =", value, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeNotEqualTo(Date value) {
            addCriterion("joinTime <>", value, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeGreaterThan(Date value) {
            addCriterion("joinTime >", value, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeGreaterThanOrEqualTo(Date value) {
            addCriterion("joinTime >=", value, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeLessThan(Date value) {
            addCriterion("joinTime <", value, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeLessThanOrEqualTo(Date value) {
            addCriterion("joinTime <=", value, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeIn(List<Date> values) {
            addCriterion("joinTime in", values, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeNotIn(List<Date> values) {
            addCriterion("joinTime not in", values, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeBetween(Date value1, Date value2) {
            addCriterion("joinTime between", value1, value2, "jointime");
            return (Criteria) this;
        }

        public Criteria andJointimeNotBetween(Date value1, Date value2) {
            addCriterion("joinTime not between", value1, value2, "jointime");
            return (Criteria) this;
        }

        public Criteria andFriendidIsNull() {
            addCriterion("friendId is null");
            return (Criteria) this;
        }

        public Criteria andFriendidIsNotNull() {
            addCriterion("friendId is not null");
            return (Criteria) this;
        }

        public Criteria andFriendidEqualTo(Integer value) {
            addCriterion("friendId =", value, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidNotEqualTo(Integer value) {
            addCriterion("friendId <>", value, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidGreaterThan(Integer value) {
            addCriterion("friendId >", value, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidGreaterThanOrEqualTo(Integer value) {
            addCriterion("friendId >=", value, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidLessThan(Integer value) {
            addCriterion("friendId <", value, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidLessThanOrEqualTo(Integer value) {
            addCriterion("friendId <=", value, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidIn(List<Integer> values) {
            addCriterion("friendId in", values, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidNotIn(List<Integer> values) {
            addCriterion("friendId not in", values, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidBetween(Integer value1, Integer value2) {
            addCriterion("friendId between", value1, value2, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendidNotBetween(Integer value1, Integer value2) {
            addCriterion("friendId not between", value1, value2, "friendid");
            return (Criteria) this;
        }

        public Criteria andFriendremarkIsNull() {
            addCriterion("friendRemark is null");
            return (Criteria) this;
        }

        public Criteria andFriendremarkIsNotNull() {
            addCriterion("friendRemark is not null");
            return (Criteria) this;
        }

        public Criteria andFriendremarkEqualTo(String value) {
            addCriterion("friendRemark =", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkNotEqualTo(String value) {
            addCriterion("friendRemark <>", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkGreaterThan(String value) {
            addCriterion("friendRemark >", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkGreaterThanOrEqualTo(String value) {
            addCriterion("friendRemark >=", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkLessThan(String value) {
            addCriterion("friendRemark <", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkLessThanOrEqualTo(String value) {
            addCriterion("friendRemark <=", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkLike(String value) {
            addCriterion("friendRemark like", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkNotLike(String value) {
            addCriterion("friendRemark not like", value, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkIn(List<String> values) {
            addCriterion("friendRemark in", values, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkNotIn(List<String> values) {
            addCriterion("friendRemark not in", values, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkBetween(String value1, String value2) {
            addCriterion("friendRemark between", value1, value2, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendremarkNotBetween(String value1, String value2) {
            addCriterion("friendRemark not between", value1, value2, "friendremark");
            return (Criteria) this;
        }

        public Criteria andFriendwxidIsNull() {
            addCriterion("friendWxId is null");
            return (Criteria) this;
        }

        public Criteria andFriendwxidIsNotNull() {
            addCriterion("friendWxId is not null");
            return (Criteria) this;
        }

        public Criteria andFriendwxidEqualTo(String value) {
            addCriterion("friendWxId =", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidNotEqualTo(String value) {
            addCriterion("friendWxId <>", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidGreaterThan(String value) {
            addCriterion("friendWxId >", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidGreaterThanOrEqualTo(String value) {
            addCriterion("friendWxId >=", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidLessThan(String value) {
            addCriterion("friendWxId <", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidLessThanOrEqualTo(String value) {
            addCriterion("friendWxId <=", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidLike(String value) {
            addCriterion("friendWxId like", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidNotLike(String value) {
            addCriterion("friendWxId not like", value, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidIn(List<String> values) {
            addCriterion("friendWxId in", values, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidNotIn(List<String> values) {
            addCriterion("friendWxId not in", values, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidBetween(String value1, String value2) {
            addCriterion("friendWxId between", value1, value2, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andFriendwxidNotBetween(String value1, String value2) {
            addCriterion("friendWxId not between", value1, value2, "friendwxid");
            return (Criteria) this;
        }

        public Criteria andNeedverifyIsNull() {
            addCriterion("needVerify is null");
            return (Criteria) this;
        }

        public Criteria andNeedverifyIsNotNull() {
            addCriterion("needVerify is not null");
            return (Criteria) this;
        }

        public Criteria andNeedverifyEqualTo(Integer value) {
            addCriterion("needVerify =", value, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyNotEqualTo(Integer value) {
            addCriterion("needVerify <>", value, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyGreaterThan(Integer value) {
            addCriterion("needVerify >", value, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyGreaterThanOrEqualTo(Integer value) {
            addCriterion("needVerify >=", value, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyLessThan(Integer value) {
            addCriterion("needVerify <", value, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyLessThanOrEqualTo(Integer value) {
            addCriterion("needVerify <=", value, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyIn(List<Integer> values) {
            addCriterion("needVerify in", values, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyNotIn(List<Integer> values) {
            addCriterion("needVerify not in", values, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyBetween(Integer value1, Integer value2) {
            addCriterion("needVerify between", value1, value2, "needverify");
            return (Criteria) this;
        }

        public Criteria andNeedverifyNotBetween(Integer value1, Integer value2) {
            addCriterion("needVerify not between", value1, value2, "needverify");
            return (Criteria) this;
        }

        public Criteria andInaddressIsNull() {
            addCriterion("inAddress is null");
            return (Criteria) this;
        }

        public Criteria andInaddressIsNotNull() {
            addCriterion("inAddress is not null");
            return (Criteria) this;
        }

        public Criteria andInaddressEqualTo(Integer value) {
            addCriterion("inAddress =", value, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressNotEqualTo(Integer value) {
            addCriterion("inAddress <>", value, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressGreaterThan(Integer value) {
            addCriterion("inAddress >", value, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressGreaterThanOrEqualTo(Integer value) {
            addCriterion("inAddress >=", value, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressLessThan(Integer value) {
            addCriterion("inAddress <", value, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressLessThanOrEqualTo(Integer value) {
            addCriterion("inAddress <=", value, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressIn(List<Integer> values) {
            addCriterion("inAddress in", values, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressNotIn(List<Integer> values) {
            addCriterion("inAddress not in", values, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressBetween(Integer value1, Integer value2) {
            addCriterion("inAddress between", value1, value2, "inaddress");
            return (Criteria) this;
        }

        public Criteria andInaddressNotBetween(Integer value1, Integer value2) {
            addCriterion("inAddress not between", value1, value2, "inaddress");
            return (Criteria) this;
        }

        public Criteria andShowsortIsNull() {
            addCriterion("showSort is null");
            return (Criteria) this;
        }

        public Criteria andShowsortIsNotNull() {
            addCriterion("showSort is not null");
            return (Criteria) this;
        }

        public Criteria andShowsortEqualTo(Integer value) {
            addCriterion("showSort =", value, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortNotEqualTo(Integer value) {
            addCriterion("showSort <>", value, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortGreaterThan(Integer value) {
            addCriterion("showSort >", value, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortGreaterThanOrEqualTo(Integer value) {
            addCriterion("showSort >=", value, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortLessThan(Integer value) {
            addCriterion("showSort <", value, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortLessThanOrEqualTo(Integer value) {
            addCriterion("showSort <=", value, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortIn(List<Integer> values) {
            addCriterion("showSort in", values, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortNotIn(List<Integer> values) {
            addCriterion("showSort not in", values, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortBetween(Integer value1, Integer value2) {
            addCriterion("showSort between", value1, value2, "showsort");
            return (Criteria) this;
        }

        public Criteria andShowsortNotBetween(Integer value1, Integer value2) {
            addCriterion("showSort not between", value1, value2, "showsort");
            return (Criteria) this;
        }

        public Criteria andIsbaseIsNull() {
            addCriterion("isBase is null");
            return (Criteria) this;
        }

        public Criteria andIsbaseIsNotNull() {
            addCriterion("isBase is not null");
            return (Criteria) this;
        }

        public Criteria andIsbaseEqualTo(Integer value) {
            addCriterion("isBase =", value, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseNotEqualTo(Integer value) {
            addCriterion("isBase <>", value, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseGreaterThan(Integer value) {
            addCriterion("isBase >", value, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseGreaterThanOrEqualTo(Integer value) {
            addCriterion("isBase >=", value, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseLessThan(Integer value) {
            addCriterion("isBase <", value, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseLessThanOrEqualTo(Integer value) {
            addCriterion("isBase <=", value, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseIn(List<Integer> values) {
            addCriterion("isBase in", values, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseNotIn(List<Integer> values) {
            addCriterion("isBase not in", values, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseBetween(Integer value1, Integer value2) {
            addCriterion("isBase between", value1, value2, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsbaseNotBetween(Integer value1, Integer value2) {
            addCriterion("isBase not between", value1, value2, "isbase");
            return (Criteria) this;
        }

        public Criteria andIsfirstIsNull() {
            addCriterion("isFirst is null");
            return (Criteria) this;
        }

        public Criteria andIsfirstIsNotNull() {
            addCriterion("isFirst is not null");
            return (Criteria) this;
        }

        public Criteria andIsfirstEqualTo(Integer value) {
            addCriterion("isFirst =", value, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstNotEqualTo(Integer value) {
            addCriterion("isFirst <>", value, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstGreaterThan(Integer value) {
            addCriterion("isFirst >", value, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstGreaterThanOrEqualTo(Integer value) {
            addCriterion("isFirst >=", value, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstLessThan(Integer value) {
            addCriterion("isFirst <", value, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstLessThanOrEqualTo(Integer value) {
            addCriterion("isFirst <=", value, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstIn(List<Integer> values) {
            addCriterion("isFirst in", values, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstNotIn(List<Integer> values) {
            addCriterion("isFirst not in", values, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstBetween(Integer value1, Integer value2) {
            addCriterion("isFirst between", value1, value2, "isfirst");
            return (Criteria) this;
        }

        public Criteria andIsfirstNotBetween(Integer value1, Integer value2) {
            addCriterion("isFirst not between", value1, value2, "isfirst");
            return (Criteria) this;
        }

        public Criteria andCsidIsNull() {
            addCriterion("csId is null");
            return (Criteria) this;
        }

        public Criteria andCsidIsNotNull() {
            addCriterion("csId is not null");
            return (Criteria) this;
        }

        public Criteria andCsidEqualTo(Integer value) {
            addCriterion("csId =", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotEqualTo(Integer value) {
            addCriterion("csId <>", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThan(Integer value) {
            addCriterion("csId >", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidGreaterThanOrEqualTo(Integer value) {
            addCriterion("csId >=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThan(Integer value) {
            addCriterion("csId <", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidLessThanOrEqualTo(Integer value) {
            addCriterion("csId <=", value, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidIn(List<Integer> values) {
            addCriterion("csId in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotIn(List<Integer> values) {
            addCriterion("csId not in", values, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidBetween(Integer value1, Integer value2) {
            addCriterion("csId between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andCsidNotBetween(Integer value1, Integer value2) {
            addCriterion("csId not between", value1, value2, "csid");
            return (Criteria) this;
        }

        public Criteria andHassensitiveIsNull() {
            addCriterion("hasSensitive is null");
            return (Criteria) this;
        }

        public Criteria andHassensitiveIsNotNull() {
            addCriterion("hasSensitive is not null");
            return (Criteria) this;
        }

        public Criteria andHassensitiveEqualTo(Integer value) {
            addCriterion("hasSensitive =", value, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveNotEqualTo(Integer value) {
            addCriterion("hasSensitive <>", value, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveGreaterThan(Integer value) {
            addCriterion("hasSensitive >", value, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveGreaterThanOrEqualTo(Integer value) {
            addCriterion("hasSensitive >=", value, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveLessThan(Integer value) {
            addCriterion("hasSensitive <", value, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveLessThanOrEqualTo(Integer value) {
            addCriterion("hasSensitive <=", value, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveIn(List<Integer> values) {
            addCriterion("hasSensitive in", values, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveNotIn(List<Integer> values) {
            addCriterion("hasSensitive not in", values, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveBetween(Integer value1, Integer value2) {
            addCriterion("hasSensitive between", value1, value2, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andHassensitiveNotBetween(Integer value1, Integer value2) {
            addCriterion("hasSensitive not between", value1, value2, "hassensitive");
            return (Criteria) this;
        }

        public Criteria andQuitstatusIsNull() {
            addCriterion("quitStatus is null");
            return (Criteria) this;
        }

        public Criteria andQuitstatusIsNotNull() {
            addCriterion("quitStatus is not null");
            return (Criteria) this;
        }

        public Criteria andQuitstatusEqualTo(Integer value) {
            addCriterion("quitStatus =", value, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusNotEqualTo(Integer value) {
            addCriterion("quitStatus <>", value, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusGreaterThan(Integer value) {
            addCriterion("quitStatus >", value, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("quitStatus >=", value, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusLessThan(Integer value) {
            addCriterion("quitStatus <", value, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusLessThanOrEqualTo(Integer value) {
            addCriterion("quitStatus <=", value, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusIn(List<Integer> values) {
            addCriterion("quitStatus in", values, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusNotIn(List<Integer> values) {
            addCriterion("quitStatus not in", values, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusBetween(Integer value1, Integer value2) {
            addCriterion("quitStatus between", value1, value2, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuitstatusNotBetween(Integer value1, Integer value2) {
            addCriterion("quitStatus not between", value1, value2, "quitstatus");
            return (Criteria) this;
        }

        public Criteria andQuittimeIsNull() {
            addCriterion("quitTime is null");
            return (Criteria) this;
        }

        public Criteria andQuittimeIsNotNull() {
            addCriterion("quitTime is not null");
            return (Criteria) this;
        }

        public Criteria andQuittimeEqualTo(Date value) {
            addCriterion("quitTime =", value, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeNotEqualTo(Date value) {
            addCriterion("quitTime <>", value, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeGreaterThan(Date value) {
            addCriterion("quitTime >", value, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeGreaterThanOrEqualTo(Date value) {
            addCriterion("quitTime >=", value, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeLessThan(Date value) {
            addCriterion("quitTime <", value, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeLessThanOrEqualTo(Date value) {
            addCriterion("quitTime <=", value, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeIn(List<Date> values) {
            addCriterion("quitTime in", values, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeNotIn(List<Date> values) {
            addCriterion("quitTime not in", values, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeBetween(Date value1, Date value2) {
            addCriterion("quitTime between", value1, value2, "quittime");
            return (Criteria) this;
        }

        public Criteria andQuittimeNotBetween(Date value1, Date value2) {
            addCriterion("quitTime not between", value1, value2, "quittime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andGroupversionIsNull() {
            addCriterion("groupVersion is null");
            return (Criteria) this;
        }

        public Criteria andGroupversionIsNotNull() {
            addCriterion("groupVersion is not null");
            return (Criteria) this;
        }

        public Criteria andGroupversionEqualTo(Long value) {
            addCriterion("groupVersion =", value, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionNotEqualTo(Long value) {
            addCriterion("groupVersion <>", value, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionGreaterThan(Long value) {
            addCriterion("groupVersion >", value, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionGreaterThanOrEqualTo(Long value) {
            addCriterion("groupVersion >=", value, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionLessThan(Long value) {
            addCriterion("groupVersion <", value, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionLessThanOrEqualTo(Long value) {
            addCriterion("groupVersion <=", value, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionIn(List<Long> values) {
            addCriterion("groupVersion in", values, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionNotIn(List<Long> values) {
            addCriterion("groupVersion not in", values, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionBetween(Long value1, Long value2) {
            addCriterion("groupVersion between", value1, value2, "groupversion");
            return (Criteria) this;
        }

        public Criteria andGroupversionNotBetween(Long value1, Long value2) {
            addCriterion("groupVersion not between", value1, value2, "groupversion");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNull() {
            addCriterion("avatar is null");
            return (Criteria) this;
        }

        public Criteria andAvatarIsNotNull() {
            addCriterion("avatar is not null");
            return (Criteria) this;
        }

        public Criteria andAvatarEqualTo(String value) {
            addCriterion("avatar =", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotEqualTo(String value) {
            addCriterion("avatar <>", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThan(String value) {
            addCriterion("avatar >", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarGreaterThanOrEqualTo(String value) {
            addCriterion("avatar >=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThan(String value) {
            addCriterion("avatar <", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLessThanOrEqualTo(String value) {
            addCriterion("avatar <=", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarLike(String value) {
            addCriterion("avatar like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotLike(String value) {
            addCriterion("avatar not like", value, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarIn(List<String> values) {
            addCriterion("avatar in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotIn(List<String> values) {
            addCriterion("avatar not in", values, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarBetween(String value1, String value2) {
            addCriterion("avatar between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andAvatarNotBetween(String value1, String value2) {
            addCriterion("avatar not between", value1, value2, "avatar");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNull() {
            addCriterion("owner is null");
            return (Criteria) this;
        }

        public Criteria andOwnerIsNotNull() {
            addCriterion("owner is not null");
            return (Criteria) this;
        }

        public Criteria andOwnerEqualTo(String value) {
            addCriterion("owner =", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotEqualTo(String value) {
            addCriterion("owner <>", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThan(String value) {
            addCriterion("owner >", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerGreaterThanOrEqualTo(String value) {
            addCriterion("owner >=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThan(String value) {
            addCriterion("owner <", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLessThanOrEqualTo(String value) {
            addCriterion("owner <=", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerLike(String value) {
            addCriterion("owner like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotLike(String value) {
            addCriterion("owner not like", value, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerIn(List<String> values) {
            addCriterion("owner in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotIn(List<String> values) {
            addCriterion("owner not in", values, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerBetween(String value1, String value2) {
            addCriterion("owner between", value1, value2, "owner");
            return (Criteria) this;
        }

        public Criteria andOwnerNotBetween(String value1, String value2) {
            addCriterion("owner not between", value1, value2, "owner");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}